
package net.mappoint.s.mappoint_30;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for Waypoint complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="Waypoint">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Location" type="{http://s.mappoint.net/mappoint-30/}Location" minOccurs="0"/>
 *         &lt;element name="Snap" type="{http://s.mappoint.net/mappoint-30/}SnapType"/>
 *         &lt;element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="CalculatedLocation" type="{http://s.mappoint.net/mappoint-30/}Location" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Waypoint", propOrder = {
    "location",
    "snap",
    "name",
    "calculatedLocation"
})
public class Waypoint {

    @XmlElement(name = "Location")
    protected Location location;
    @XmlElement(name = "Snap", required = true)
    protected SnapType snap;
    @XmlElement(name = "Name")
    protected String name;
    @XmlElement(name = "CalculatedLocation")
    protected Location calculatedLocation;

    /**
     * Gets the value of the location property.
     * 
     * @return
     *     possible object is
     *     {@link Location }
     *     
     */
    public Location getLocation() {
        return location;
    }

    /**
     * Sets the value of the location property.
     * 
     * @param value
     *     allowed object is
     *     {@link Location }
     *     
     */
    public void setLocation(Location value) {
        this.location = value;
    }

    /**
     * Gets the value of the snap property.
     * 
     * @return
     *     possible object is
     *     {@link SnapType }
     *     
     */
    public SnapType getSnap() {
        return snap;
    }

    /**
     * Sets the value of the snap property.
     * 
     * @param value
     *     allowed object is
     *     {@link SnapType }
     *     
     */
    public void setSnap(SnapType value) {
        this.snap = value;
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * Gets the value of the calculatedLocation property.
     * 
     * @return
     *     possible object is
     *     {@link Location }
     *     
     */
    public Location getCalculatedLocation() {
        return calculatedLocation;
    }

    /**
     * Sets the value of the calculatedLocation property.
     * 
     * @param value
     *     allowed object is
     *     {@link Location }
     *     
     */
    public void setCalculatedLocation(Location value) {
        this.calculatedLocation = value;
    }

}
